package test;

public class Coffee extends  Drink {

    public Coffee(double price){
        setPrice(price);
    }

    @Override
    public double cost() {
        return super.getPrice();
    }
}
